<div class="xyg-product-footer-tab1">
    <div class="xyg-product-footer-tab-center">
        <div class="xyg-product-footer-tab xyg-product-footer-tab1-pic">
            <div class="xyg-product-footer-btn" onClick="goFistPage()">
                <img id="indexImage" src="../images/icon_nav_frist_b.png?123" class="picture" alt="">
            </div>
            <div class="xyg-product-footer-btn" onClick="goCartPage()">
                <div class="xyg-product-footer-btn-top-text" id="cartNumShow">
                </div>
                <img id="cartImage" src="../images/icon_gwc_1.png?123" class="picture-bottom" alt="">
            </div>
            <div class="xyg-product-footer-btn" onClick="goMyPage()">
                <img id="myImage" src="../images/icon_nav_my_1.png?123" class="picture" alt="">
            </div>
        </div>
    </div>
</div>
<div class="xyg-product-footer-tab2">
    <div class="xyg-product-footer-tab-center">
        <div class="xyg-product-footer-tab xyg-product-footer-tab2-pic" onClick="share('${member.unionid}')">
            <div class="xyg-product-footer-btn">
                <img src="../images/icon_nav_share.png?123" class="picture" alt="">
            </div>
        </div>
    </div>
</div>
<script>
    if (inArr(indexUrlArr, strUrl)){
        $("#indexImage").attr("src","../images/icon_nav_frist.png");
    }
    if (inArr(cartUrlArr, strUrl)){

    }
    if (inArr(myUrlArr, strUrl)){
        $("#myImage").attr("src","../images/icon_nav_my.png");
    }
    // 获取购物车数
    var memberId = getMemberId();
    if (memberId){
        $.get(baseURL + "api/cart/getNum/"+memberId,"",function(res) {
            if (res.code == 0 && res.count > 0) {
                $("#cartNumShow").html(res.count);
            }
        });
    }
</script>